//
//  Context.m
//  LearnObjectiveC
//
//  Created by client on 2017/9/8.
//  Copyright © 2017年 吴可高. All rights reserved.
//

#import "Context.h"

@implementation Context
@synthesize num1,num2;

+(Context *)contextSetNum1:(int)num1 num2:(int)num2
{
    Context * context = [[self alloc]init];
    context.num1 = num1;
    context.num2 = num2;
    return context;
}

-(void)setNum1:(int)newNum1
{
    num1 = newNum1;
}

-(int)num1
{
    return num1;
}

-(void)setNum2:(int)newNum2
{
    num2 = newNum2;
}

-(int)num2
{
    return num2;
}

@end
